Flutter Html text color

60

flutter text color -

new Text(
  'Welcome to Flutter Tutorial.',
  style: TextStyle(
    color: Colors.blue,
  ),
)

Flutter Html text color -

Flutter Html Widget 
Html(
    data: 'my text',
    style: {
    "body": Style(
    fontSize: FontSize(18.0),
    fontWeight: FontWeight.bold,
    ),
    },
)

Comments

Submit
0 Comments